package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.NewsAuthDto;
import com.heima.model.wemedia.dtos.WmNewsDto;
import com.heima.model.wemedia.dtos.WmNewsPageReqDto;
import com.heima.model.wemedia.pojos.WmNews;

/**
 * <p>
 * 自媒体图文内容信息表 服务类
 * </p>
 *
 * @author itheima
 */
public interface WmNewsService extends IService<WmNews> {

    ResponseResult submitNews(WmNewsDto dto);

    ResponseResult findList(WmNewsPageReqDto dto);

    ResponseResult downOrUp(WmNewsDto dto);

    ResponseResult listVo(NewsAuthDto dto);

    ResponseResult findDetails(Integer id);

    ResponseResult isNot(NewsAuthDto dto);

    ResponseResult isYes(NewsAuthDto dto);
}
